package nojava;

import java.io.*;
import java.util.Scanner;

public class MainRead {
    public static void main(String[] args) throws Exception {
        File file = new File("d://情话");
        FileInputStream inputStream = new FileInputStream(file);
        DataInputStream in = new DataInputStream(inputStream);
        int count = in.readInt();
        for (int i = 0; i < count; i++) {
            String s = in.readUTF();
            System.out.println(s);
        }
        inputStream.close();
        in.close();
    }

}
